package org.samith.web.servlet;

import java.util.Date;
import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

import org.samith.entity.Transaction;

@WebService(endpointInterface = "org.samith.web.ws.service.ITransactionWS")
public interface ITransactionWS {
	@WebMethod
	public Transaction getTransactionById(int tranactionId);
	@WebMethod
	public List<Transaction> getTransactionsOfUser(int userId, Date fromDate, Date toDate);
	
}
